import request from '@/utils/request'

export function listApplication(params) {
  return request({
    url: '/system/applyAccompanyingMedicalAttendant/list',
    method: 'get',
    params
  })
}

export function getApplication(id) {
  return request({
    url: '/system/applyAccompanyingMedicalAttendant/' + id,
    method: 'get'
  })
}

export function checkApplication(data) {
  return request({
    url: '/system/applyAccompanyingMedicalAttendant/check',
    method: 'put',
    data: data
  })
}